Added mouse listener for the game.