### 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)

return object_class;
}
void EditorInspector::_feature_profile_changed() {
	update_tree();
}
void EditorInspector::set_restrict_to_basic_settings(bool p_restrict) {
	restrict_to_basic = p_restrict;
	update_tree();
}
void EditorInspector::set_property_clipboard(const Variant &p_value) {
	property_clipboard = p_value;
}
Variant EditorInspector::get_property_clipboard() const {
	return property_clipboard;
}
void EditorInspector::_add_meta_confirm() {
	String name = add_meta_name->get_text();
	object->editor_set_section_unfold("metadata", true); 
	Variant defval;
	Callable::CallError ce;
	Variant::construct(Variant::Type(add_meta_type->get_selected_id()), defval, nullptr, 0, ce);
	Ref<EditorUndoRedoManager> &undo_redo = EditorNode::get_undo_redo();
	undo_redo->create_action(vformat(TTR("Add metadata %s"), name));
	undo_redo->add_do_method(object, "set_meta", name, defval);
	undo_redo->add_undo_method(object, "remove_meta", name);
	undo_redo->commit_action();
}
void EditorInspector::_check_meta_name(const String &p_name) {