Modified Polyline drawing