BUG:  Mask might extend to boundaries of the image causing a problem for CreateTiledMosaic