Set the mouse(x, y) coordinates to now match the world(x, y) coordinates. Also added a simple check to see if the mouse collides with the end points of the track segments.