### 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)
String rendering_method = renderer->get_item_metadata(p_which);
	String current_renderer = GLOBAL_GET("rendering/renderer/rendering_method");
	if (rendering_method == current_renderer) {
		return;
	}
	renderer_request = rendering_method;
	video_restart_dialog->popup_centered();
	renderer->select(renderer_current);
	_update_renderer_color();
}
void EditorNode::_resource_saved(Ref<Resource> p_resource, const String &p_path) {
	if (EditorFileSystem::get_singleton()) {
		EditorFileSystem::get_singleton()->update_file(p_path);
	}
	singleton->editor_folding.save_resource_folding(p_resource, p_path);
}
void EditorNode::_resource_loaded(Ref<Resource> p_resource, const String &p_path) {
	singleton->editor_folding.load_resource_folding(p_resource, p_path);
}
void EditorNode::_feature_profile_changed() {