Resolve issue with rasterization of polygons out of raster extent.