This visual effect corresponds to visible to invisible. So use InCubic easing for opacity and speed. (cherry picked from commit adc07632)