### Godot version

4.2 dev4

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description

When you have many tabs opened and they are overflowing with the < > buttons, when you switch scene tab it may hide some tabs in specific circumstances:

https://github.com/godotengine/godot/assets/2223172/e5904497-6e3f-48af-815a-3a156ca15018

I'd expect that simply switching to another tab has no effect on visibility.

### Steps to reproduce

1. Open many scene tabs
2. Repeat what I did on the video
May depend on tab names and window size.

### Minimal reproduction project

N/A
EditorNode::get_editor_data().move_edited_scene_to_index(p_to_index);
	update_scene_tabs();
}
void EditorSceneTabs::_update_context_menu() {
	scene_tabs_context_menu->clear();
	scene_tabs_context_menu->reset_size();
	int tab_id = scene_tabs->get_hovered_tab();
	bool no_root_node = !EditorNode::get_editor_data().get_edited_scene_root(tab_id);
	scene_tabs_context_menu->add_shortcut(ED_GET_SHORTCUT("editor/new_scene"), EditorNode::FILE_NEW_SCENE);
	if (tab_id >= 0) {
		scene_tabs_context_menu->add_shortcut(ED_GET_SHORTCUT("editor/save_scene"), EditorNode::FILE_SAVE_SCENE);
		_disable_menu_option_if(EditorNode::FILE_SAVE_SCENE, no_root_node);
		scene_tabs_context_menu->add_shortcut(ED_GET_SHORTCUT("editor/save_scene_as"), EditorNode::FILE_SAVE_AS_SCENE);
		_disable_menu_option_if(EditorNode::FILE_SAVE_AS_SCENE, no_root_node);