Fixed some legacy alpha blending code