Fix polyline loading issues