fix dragging of just created events