Improved partial rendering for polygon & polyline (last part)