fix raster preview layout