Apply color mask when alpha test parameters change. Required to make the changes in revision be706a397720 work properly. Fixes issue 6080.