Fixed a bug concerning sweep movement

When moving the sweepline behind some eventpoint, the currentEvent
variable would not be reset to null resulting in the event being
highlighted as the current event for a too long time.