Fix for fade effect.