Raster: Fix off-by-one