This fixes #2 - Prevent dragging after mouseup or dragend event.