Fixed `float` attribute on Gradient image.