Fix dual open menus bug