Fixed fadeout of flash