Correct check for when VRR should be active
The previous calculation ignored the render time and safety margin of the frame scheduling algorithm, which makes VRR activate properly only when the refresh rate drops lower than some margin below the maximum refresh rate. That margin isn't very big but it can still be noticable.