Fix simulation preview rendering.