updated fadeout for game canvas