Fix sim.c function show_mosaic