fix setting dragging-class