Move mouse position tracking to game.js