Set initial position when start dragging.