### 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
draw_texture(key, Vector2(size.width - keying_rect.position.x - key->get_width(), keying_rect.position.y), color2);
				} else {
					draw_texture(key, keying_rect.position, color2);
				}
			} else {
				keying_rect = Rect2();
			}
			if (deletable) {
				Ref<Texture2D> close;
				close = get_theme_icon(SNAME("Close"), SNAME("EditorIcons"));
				ofs -= close->get_width() + get_theme_constant(SNAME("hseparator"), SNAME("Tree"));
				Color color2(1, 1, 1);
				if (delete_hover) {
					color2.r *= 1.2;
					color2.g *= 1.2;
					color2.b *= 1.2;
				}
				delete_rect = Rect2(ofs, ((size.height - close->get_height()) / 2), close->get_width(), close->get_height());
				if (rtl) {
					draw_texture(close, Vector2(size.width - delete_rect.position.x - close->get_width(), delete_rect.position.y), color2);
				} else {
					draw_texture(close, delete_rect.position, color2);
				}
			} else {
				delete_rect = Rect2();
			}
		} break;
	}
}
void EditorProperty::set_label(const String &p_label) {