Fix jerk after dragging