### Godot version

4.1.dev (4d5f10fc3a)

### System information

MacOS 13.1 M1 Pro

### Issue description

When right clicking an element of an array/dictionary it will select it but it will never be unselected (not if you select another node nor by reselecting the node). This leads to a lot of element being marked as selected which makes it a little less readable. When doing a left click it won't select.

### Steps to reproduce

1. export an array 
2. add an element 
3. try left click it won't select
4. try right click it will select

### Minimal reproduction project

N/A
ep->set_checkable(checkable);
				ep->set_checked(checked);
				ep->set_keying(keying);
				ep->set_read_only(property_read_only || all_read_only);
				ep->set_deletable(deletable_properties || p.name.begins_with("metadata/"));
			}
			current_vbox->add_child(editors[i].property_editor);
			if (ep) {
				
				bool update_all = (p.usage & PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED);
				ep->connect("property_changed", callable_mp(this, &EditorInspector::_property_changed).bind(update_all));
				ep->connect("property_keyed", callable_mp(this, &EditorInspector::_property_keyed));
				ep->connect("property_deleted", callable_mp(this, &EditorInspector::_property_deleted), CONNECT_DEFERRED);
				ep->connect("property_keyed_with_value", callable_mp(this, &EditorInspector::_property_keyed_with_value));
				ep->connect("property_checked", callable_mp(this, &EditorInspector::_property_checked));
				ep->connect("property_pinned", callable_mp(this, &EditorInspector::_property_pinned));
				ep->connect("selected", callable_mp(this, &EditorInspector::_property_selected));
				ep->connect("multiple_properties_changed", callable_mp(this, &EditorInspector::_multiple_properties_changed));
				ep->connect("resource_selected", callable_mp(this, &EditorInspector::_resource_selected), CONNECT_DEFERRED);
				ep->connect("object_id_selected", callable_mp(this, &EditorInspector::_object_id_selected), CONNECT_DEFERRED);
				if (!doc_info.description.is_empty()) {
					ep->set_tooltip_text(property_prefix + p.name + "::" + doc_info.description);
				} else {
					ep->set_tooltip_text(property_prefix + p.name);
				}
				ep->set_doc_path(doc_info.path);
				ep->update_property();
				ep->_update_pin_flags();
				ep->update_editor_property_status();
				ep->update_cache();