rasterize traps that extend outside of the image bounds correctly