Moved code around.
Fixed keys not reseting properly if any was held down before the game started.