### 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
category->icon = EditorNode::get_singleton()->get_object_icon(scr.ptr(), "Object");
					}
				}
			}
			if (category->icon.is_null() && !type.is_empty()) {
				category->icon = EditorNode::get_singleton()->get_class_icon(type, "Object");
			}
			
			category->label = label;
			if (use_doc_hints) {
				String descr = "";
				
				if (!class_descr_cache.has(doc_name)) {
					DocTools *dd = EditorHelp::get_doc_data();
					HashMap<String, DocData::ClassDoc>::Iterator E = dd->class_list.find(doc_name);
					if (E) {
						descr = DTR(E->value.brief_description);
					}
					if (ClassDB::class_exists(doc_name)) {
						class_descr_cache[doc_name] = descr; 
					}
				} else {
					descr = class_descr_cache[doc_name];
				}
				category->set_tooltip_text(p.name + "::" + descr);
			}
			
			for (Ref<EditorInspectorPlugin> &ped : valid_plugins) {
				ped->parse_category(object, p.name);
				_parse_added_editors(main_vbox, nullptr, ped);