fixed the transform problem for rasterization as well