### 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
static Color c[4];
	c[0] = get_theme_color(SNAME("property_color_x"), SNAME("Editor"));
	c[1] = get_theme_color(SNAME("property_color_y"), SNAME("Editor"));
	c[2] = get_theme_color(SNAME("property_color_z"), SNAME("Editor"));
	c[3] = get_theme_color(SNAME("property_color_w"), SNAME("Editor"));
	return c;
}
void EditorProperty::set_label_reference(Control *p_control) {
	label_reference = p_control;
}
void EditorProperty::set_bottom_editor(Control *p_control) {
	bottom_editor = p_control;
}
Variant EditorProperty::_get_cache_value(const StringName &p_prop, bool &r_valid) const {
	return object->get(p_prop, &r_valid);
}
bool EditorProperty::is_cache_valid() const {
	if (object) {
		for (const KeyValue<StringName, Variant> &E : cache) {
			bool valid;
			Variant value = _get_cache_value(E.key, valid);
			if (!valid || value != E.value) {
				return false;
			}
		}
	}
	return true;
}
void EditorProperty::update_cache() {