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

break;
			}
			Ref<Texture2D> arrow = get_theme_icon(SNAME("arrow"), SNAME("Tree"));
			ERR_FAIL_COND(arrow.is_null());
			Color arrow_color = get_theme_color(SNAME("highlight_color"), SNAME("Editor"));
			arrow_color.a = expand_hovered ? 1.0 : 0.6;
			arrow_pos.x += 2.0;
			arrow_pos.y -= arrow->get_height();
			Rect2 arrow_draw_rect(arrow_pos, arrow->get_size());
			expand_rect = arrow_draw_rect;
			if (expanded) {
				arrow_draw_rect.size.y *= -1.0; 
			}
			RID ci = get_canvas_item();
			arrow->draw_rect(ci, arrow_draw_rect, false, arrow_color);
		} break;
		case NOTIFICATION_MOUSE_EXIT: {
			if (expand_hovered) {
				expand_hovered = false;
				queue_redraw();
			}
			if (hovered_index != -1) {
				hovered_index = -1;
				queue_redraw();
			}
		} break;
	}
}
void EditorPropertyLayersGrid::set_flag(uint32_t p_flag) {