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