faster polyline draw with clipping