Fixed error on Windows

Game would error out on level input when typing a number after an
invalid input.