Optimized the viewer fadeout.