This prevents doubleclick from activation if a second mouse click comes quickly after a click which begins dragging.