Basic mouse tracking functionality