Enforce mask to positive values in the image.