### 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
for (Ref<EditorInspectorPlugin> &ped : valid_plugins) {
		ped->parse_begin(object);
		_parse_added_editors(main_vbox, nullptr, ped);
	}
	StringName doc_name;
	
	for (List<PropertyInfo>::Element *E_property = plist.front(); E_property; E_property = E_property->next()) {
		PropertyInfo &p = E_property->get();
		if (p.usage & PROPERTY_USAGE_SUBGROUP) {
			
			subgroup = p.name;
			Vector<String> hint_parts = p.hint_string.split(",");
			subgroup_base = hint_parts[0];
			if (hint_parts.size() > 1) {
				section_depth = hint_parts[1].to_int();
			} else {
				section_depth = 0;
			}
			continue;
		} else if (p.usage & PROPERTY_USAGE_GROUP) {
			
			group = p.name;
			Vector<String> hint_parts = p.hint_string.split(",");
			group_base = hint_parts[0];
			if (hint_parts.size() > 1) {
				section_depth = hint_parts[1].to_int();
			} else {
				section_depth = 0;
			}