Fix to fadeout animation