Fix menus not allowing quit.