tif_mosaic: More robustness