core: window_pygame fix conflict with command_mode and ctrl+a