### Godot version

v4.0.beta10.official [d0398f62f]

### System information

Windows 11

### Issue description

When hovering over the `MenuBar` items - the hover state activates only once (on first hover).

As demonstrated in this video - Debug menu toggles to hover visual style only once:


https://user-images.githubusercontent.com/433527/209774611-a3d6d80b-deb2-466b-b39d-bb480a5ade17.mp4

### Steps to reproduce

See video, try the same in Godot editor.

### Minimal reproduction project

N/A
if (Engine::get_singleton()->is_editor_hint() && is_inside_tree() && get_tree()->get_edited_scene_root() && (get_tree()->get_edited_scene_root()->is_ancestor_of(this) || get_tree()->get_edited_scene_root() == this)) {
		return false;
	}
	return (DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_GLOBAL_MENU) && is_native);
}
void MenuBar::_clear_menu() {
	if (!DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_GLOBAL_MENU)) {
		return;
	}
	
	int count = DisplayServer::get_singleton()->global_menu_get_item_count("_main");
	for (int i = count - 1; i >= 0; i--) {
		if (global_menus.has(DisplayServer::get_singleton()->global_menu_get_item_submenu("_main", i))) {
			DisplayServer::get_singleton()->global_menu_remove_item("_main", i);
		}
	}
	
	for (const String &E : global_menus) {
		DisplayServer::get_singleton()->global_menu_clear(E);
	}
	global_menus.clear();
}
void MenuBar::_update_menu() {