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

rect.position.x += key->get_width() + get_theme_constant(SNAME("hseparator"), SNAME("Tree"));
					}
					if (no_children) {
						text_size -= key->get_width() + 4 * EDSCALE;
					}
				}
				if (deletable) {
					Ref<Texture2D> close;
					close = get_theme_icon(SNAME("Close"), SNAME("EditorIcons"));
					rect.size.x -= close->get_width() + get_theme_constant(SNAME("hseparator"), SNAME("Tree"));
					if (is_layout_rtl()) {
						rect.position.x += close->get_width() + get_theme_constant(SNAME("hseparator"), SNAME("Tree"));
					}
					if (no_children) {
						text_size -= close->get_width() + 4 * EDSCALE;
					}
				}
			}
			
			for (int i = 0; i < get_child_count(); i++) {
				Control *c = Object::cast_to<Control>(get_child(i));
				if (!c) {
					continue;
				}
				if (c->is_set_as_top_level()) {
					continue;
				}
				if (c == bottom_editor) {
					continue;
				}