### Godot version

Godot 4-beta10

### System information

Linux, KDE Neon, OpenGL3, Mesa Intel(R) UHD Graphics (CML GT2)

### Issue description

I can't move to Animation player when I open a AnimatedSprite

See the video:
https://youtu.be/_nyN42rNlTw


### Steps to reproduce

- Open Scene GPlayer
- Select Idle (Animation player) node
- Select Body (Animation sprite) node
- Select animation in bottom tab

### Minimal reproduction project

You can test in my game is open source and don't have many files 👍🏻 

[the-zero-day.zip](https://github.com/godotengine/godot/files/10304677/the-zero-day.zip)

parent = parent->get_parent();
			}
		}
		if (restore_focus) {
			current_focusable = property_focusable;
		}
	}
	_clear();
	if (!object) {
		return;
	}
	List<Ref<EditorInspectorPlugin>> valid_plugins;
	for (int i = inspector_plugin_count - 1; i >= 0; i--) { 
		if (!inspector_plugins[i]->can_handle(object)) {
			continue;
		}
		valid_plugins.push_back(inspector_plugins[i]);
	}
	
	
	bool draw_warning = false;
	bool all_read_only = false;
	if (is_inside_tree()) {
		if (object->has_method("_is_read_only")) {
			all_read_only = object->call("_is_read_only");
		}
		Node *nod = Object::cast_to<Node>(object);
		Node *es = EditorNode::get_singleton()->get_edited_scene();
		if (nod && es != nod && nod->get_owner() != es) {