Make the refresh and latency UI more stable for PWM light sources