polylines change into paths correctly on remote clients