menus: fixing recognizing when menu really is open. Fixes Esc-not-working-bug