fixed a bug in line and polyline so track is enabled in offset startpoints