Fix bug that forced player to parent menu when switching menus