This prevents meshgradient being rendered outside the clipped region, because it was based on boundingRect