add frame limit for fading effect that solve most fading lags