fix weird issue with dragging too quickly on drag-drop