Fixed a bug that prevented gradients with varying alpha from being
displayed.