### 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
return object;
}
void EditorInspector::edit(Object *p_object) {
	if (object == p_object) {
		return;
	}
	if (object) {
		_clear();
		object->disconnect("property_list_changed", callable_mp(this, &EditorInspector::_changed_callback));
	}
	per_array_page.clear();
	object = p_object;
	if (object) {
		update_scroll_request = 0; 
		if (scroll_cache.has(object->get_instance_id())) { 
			update_scroll_request = scroll_cache[object->get_instance_id()]; 
		}
		object->connect("property_list_changed", callable_mp(this, &EditorInspector::_changed_callback));
		update_tree();
	}
	emit_signal(SNAME("edited_object_changed"));
}
void EditorInspector::set_keying(bool p_active) {