Fixed window isKeyDown when window is gone.