### 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
doc_path = p_doc_path;
}
void EditorProperty::update_property() {
	GDVIRTUAL_CALL(_update_property);
}
void EditorProperty::_set_read_only(bool p_read_only) {
}
void EditorProperty::set_read_only(bool p_read_only) {
	read_only = p_read_only;
	if (GDVIRTUAL_CALL(_set_read_only, p_read_only)) {
		return;
	}
	_set_read_only(p_read_only);
}
bool EditorProperty::is_read_only() const {
	return read_only;
}
Variant EditorPropertyRevert::get_property_revert_value(Object *p_object, const StringName &p_property, bool *r_is_valid) {
	if (p_object->property_can_revert(p_property)) {
		if (r_is_valid) {
			*r_is_valid = true;
		}
		return p_object->property_get_revert(p_property);
	}
	return PropertyUtils::get_property_default_value(p_object, p_property, r_is_valid);
}
bool EditorPropertyRevert::can_property_revert(Object *p_object, const StringName &p_property, const Variant *p_custom_current_value) {