### 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 (new_sel < 0) {
				new_sel = menu_cache.size() - 1;
			}
			if (old_sel == new_sel) {
				return;
			}
		} while (menu_cache[new_sel].hidden || menu_cache[new_sel].disabled);
		if (selected_menu != new_sel) {
			selected_menu = new_sel;
			focused_menu = selected_menu;
			if (active_menu >= 0) {
				get_menu_popup(active_menu)->hide();
			}
			_open_popup(selected_menu, true);
		}
		return;
	} else if (p_event->is_action("ui_right", true) && p_event->is_pressed()) {
		int new_sel = selected_menu;
		int old_sel = (selected_menu < 0) ? menu_cache.size() - 1 : selected_menu;
		do {
			new_sel++;
			if (new_sel >= menu_cache.size()) {
				new_sel = 0;
			}
			if (old_sel == new_sel) {
				return;
			}
		} while (menu_cache[new_sel].hidden || menu_cache[new_sel].disabled);
		if (selected_menu != new_sel) {
			selected_menu = new_sel;