prevent triggering move event when the drag event was cancelled