Added a filter that sets pixels to nodata where a mask layer is 0.