Fix Minimize&Maximize hotkeys