tiny little change in Core

Menu can be both opened and closed via the escape button. (forgot to
keep the universal keybindings when switch to menu)