Gradients weren't being applied properly to shapes with a transform attribute.