### Godot version

4.0.dev(2fdaf2919c03ab50f971f2d51616d4ee329d29af)

### System information

any

### Issue description

AnimationPlayer is unintentionally hidden.

https://user-images.githubusercontent.com/61938263/217088704-c1ad44d6-ef7b-4b10-b351-f9f9fa166e39.mp4


### Steps to reproduce

Select AnimationTree -> Select AnimationPlayer

### Minimal reproduction project

N/A
ERR_FAIL_NULL(p_editing_owner);
	if (p_object && _is_class_editor_disabled_by_feature_profile(p_object->get_class())) {
		return;
	}
	Vector<EditorPlugin *> item_plugins;
	if (p_object) {
		item_plugins = editor_data.get_subeditors(p_object);
	}
	if (!item_plugins.is_empty()) {
		ObjectID owner_id = p_editing_owner->get_instance_id();
		List<EditorPlugin *> to_remove;
		for (EditorPlugin *plugin : active_plugins[owner_id]) {
			if (!item_plugins.has(plugin)) {
				
				to_remove.push_back(plugin);
				_plugin_over_edit(plugin, nullptr);
			}
		}
		for (EditorPlugin *plugin : to_remove) {
			active_plugins[owner_id].erase(plugin);