### 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 (EditorProperty *E : editor_property_map[p_path]) {
				E->set_checked(p_checked);
				E->update_property();
				E->update_editor_property_status();
				E->update_cache();
			}
		}
	} else {
		emit_signal(SNAME("property_toggled"), p_path, p_checked);
	}
}
void EditorInspector::_property_pinned(const String &p_path, bool p_pinned) {
	if (!object) {
		return;
	}
	Node *node = Object::cast_to<Node>(object);
	ERR_FAIL_COND(!node);
	EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
	undo_redo->create_action(vformat(p_pinned ? TTR("Pinned %s") : TTR("Unpinned %s"), p_path));
	undo_redo->add_do_method(node, "_set_property_pinned", p_path, p_pinned);
	undo_redo->add_undo_method(node, "_set_property_pinned", p_path, !p_pinned);
	if (editor_property_map.has(p_path)) {
		for (List<EditorProperty *>::Element *E = editor_property_map[p_path].front(); E; E = E->next()) {
			undo_redo->add_do_method(E->get(), "_update_editor_property_status");
			undo_redo->add_undo_method(E->get(), "_update_editor_property_status");
		}
	}
	undo_redo->commit_action();
}
void EditorInspector::_property_selected(const String &p_path, int p_focusable) {