fix for multipolygon masking problem in ugrid.py