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

if (!add_meta_dialog) {
		add_meta_dialog = memnew(ConfirmationDialog);
		VBoxContainer *vbc = memnew(VBoxContainer);
		add_meta_dialog->add_child(vbc);
		HBoxContainer *hbc = memnew(HBoxContainer);
		vbc->add_child(hbc);
		hbc->add_child(memnew(Label(TTR("Name:"))));
		add_meta_name = memnew(LineEdit);
		add_meta_name->set_custom_minimum_size(Size2(200 * EDSCALE, 1));
		hbc->add_child(add_meta_name);
		hbc->add_child(memnew(Label(TTR("Type:"))));
		add_meta_type = memnew(OptionButton);
		for (int i = 0; i < Variant::VARIANT_MAX; i++) {
			if (i == Variant::NIL || i == Variant::RID || i == Variant::CALLABLE || i == Variant::SIGNAL) {
				continue; 
			}
			String type = i == Variant::OBJECT ? String("Resource") : Variant::get_type_name(Variant::Type(i));
			add_meta_type->add_icon_item(get_theme_icon(type, "EditorIcons"), type, i);
		}
		hbc->add_child(add_meta_type);
		add_meta_dialog->set_ok_button_text(TTR("Add"));
		add_child(add_meta_dialog);
		add_meta_dialog->register_text_enter(add_meta_name);
		add_meta_dialog->connect("confirmed", callable_mp(this, &EditorInspector::_add_meta_confirm));