Added mouse position tracking