SetValue for changing slider value doesn't work for iOS 14.5

Hi everyone, I got an issue of changing slider value on iOS 14.5. It works perfectly on OS >15
To change the slider value I use:
double percent = (value - 20)/100; // The slider has minimum value of 20

Versions I have:
Appium: 1.22.3
Xcode: 13.2.1