put set alpha at the end of drawendgamestate instead