Fix a bug when forcing an alpha test mode.