UI Opacity changing not smoothly

I fixed it. The problem was that I have an interface transparency setting, and it was setting “Set Render Opacity” to 100 (when the maximum should be 1). If you encounter this problem - it’s most likely due to the UI transparency setting being too high.