fixed the issue with the menus I introduced when I fixed alt-tabbing