Dissolve: fix maskInvert
maskInvert goes with masking (to avoid bugs)