fixing a bug on fullscreen key binding