### 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
}
			StringName propname = property_prefix + p.name;
			bool found = false;
			
			if (classname == "Control" && p.name.begins_with("theme_override_")) {
				classname = get_edited_object()->get_class();
			}
			
			HashMap<StringName, HashMap<StringName, PropertyDocInfo>>::Iterator E = doc_info_cache.find(classname);
			if (E) {
				HashMap<StringName, PropertyDocInfo>::Iterator F = E->value.find(propname);
				if (F) {
					found = true;
					doc_info = F->value;
				}
			}
			if (!found) {
				
				DocTools *dd = EditorHelp::get_doc_data();
				HashMap<String, DocData::ClassDoc>::ConstIterator F = dd->class_list.find(classname);
				while (F && doc_info.description.is_empty()) {
					for (int i = 0; i < F->value.properties.size(); i++) {
						if (F->value.properties[i].name == propname.operator String()) {
							doc_info.description = DTR(F->value.properties[i].description);
							const Vector<String> class_enum = F->value.properties[i].enumeration.split(".");
							const String class_name = class_enum[0];
							const String enum_name = class_enum.size() >= 2 ? class_enum[1] : "";
							if (!enum_name.is_empty()) {
								HashMap<String, DocData::ClassDoc>::ConstIterator enum_class = dd->class_list.find(class_name);
								if (enum_class) {