Add mouse tracking.