Fix out of boundary control point from A* path calculation.