Fixed keyboard input on windows build