only close on context menu if dragging