Raster should have a separate routine.
Turning raster into vectors and then rasterizing the
vectors is horribly inefficient!
But I'm lazy, and this works perfectly.
