fix starting offsets for pathfinding