Fix the drag drop crash if failed first time