Fixed bug introduced by the alpha_varies attribute