Fix raster deployment bug