Change mouse events to use offsetX to calculate playhead position