### 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
Variant args[4] = { p_property, p_value, p_field, p_changing };
	const Variant *argptrs[4] = { &args[0], &args[1], &args[2], &args[3] };
	cache[p_property] = p_value;
	emit_signalp(SNAME("property_changed"), (const Variant **)argptrs, 4);
}
void EditorProperty::_notification(int p_what) {
	switch (p_what) {
		case NOTIFICATION_SORT_CHILDREN: {
			Size2 size = get_size();
			Rect2 rect;
			Rect2 bottom_rect;
			right_child_rect = Rect2();
			bottom_child_rect = Rect2();
			{
				int child_room = size.width * (1.0 - split_ratio);
				Ref<Font> font = get_theme_font(SNAME("font"), SNAME("Tree"));
				int font_size = get_theme_font_size(SNAME("font_size"), SNAME("Tree"));
				int height = font->get_height(font_size) + 4 * EDSCALE;
				bool no_children = true;
				
				for (int i = 0; i < get_child_count(); i++) {
					Control *c = Object::cast_to<Control>(get_child(i));
					if (!c) {
						continue;
					}
					if (c->is_set_as_top_level()) {
						continue;
					}
					if (c == bottom_editor) {
						continue;