s/Mosaic/Layout/g
Logic fix