fixing keypress before game start exceptions