Fixed weird polyline issue whereby the number of points was being capped