only remove currentDrag object if it is defined