Added mouse tracking for box