Added ROI check on the Mosaic operation