### Godot version

v4.0.beta17.mono.official [c40020513]

### System information

Windows11,Godot Mobile backend

### Issue description


https://user-images.githubusercontent.com/15378256/216791307-138e2206-f841-42b4-a9b2-b374da97affc.mp4

When selecting different CollisionShape2Ds, only the first selected gizmo is active and can be used even when selecting different   CollisionShape2D

### Steps to reproduce

Same root, 2 or more CollisionShape2Ds.

Minimal reproduction project uploaded, simply run editor and select between the CollisionShape2Ds.

### Minimal reproduction project

[bug1.zip](https://github.com/godotengine/godot/files/10609753/bug1.zip)
Engine::get_singleton()->startup_benchmark_begin_measure("editor_scan_and_import");
	EditorFileSystem::get_singleton()->scan();
}
void EditorNode::set_use_startup_benchmark(bool p_use_startup_benchmark, const String &p_startup_benchmark_file) {
	use_startup_benchmark = p_use_startup_benchmark;
	startup_benchmark_file = p_startup_benchmark_file;
}
Error EditorNode::export_preset(const String &p_preset, const String &p_path, bool p_debug, bool p_pack_only) {
	export_defer.preset = p_preset;
	export_defer.path = p_path;
	export_defer.debug = p_debug;
	export_defer.pack_only = p_pack_only;
	cmdline_export_mode = true;
	return OK;
}
void EditorNode::show_accept(const String &p_text, const String &p_title) {
	current_menu_option = -1;
	accept->set_ok_button_text(p_title);
	accept->set_text(p_text);
	accept->popup_centered();
}
void EditorNode::show_save_accept(const String &p_text, const String &p_title) {
	current_menu_option = -1;
	save_accept->set_ok_button_text(p_title);
	save_accept->set_text(p_text);
	save_accept->popup_centered();
}
void EditorNode::show_warning(const String &p_text, const String &p_title) {