Unfixing the polyline start point, making smoothParam a double instead of a real.