fix math for when initialMovingPath is nil

(i.e. an external force is dragging something over us)