Made sure game is able to receive keyboard events