fix rasterization of complex svgs with lineargradient