apply scaletoken substitutions to raster draws (#4538)