incorrect range value with min value and step
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.
Co-Authored-By: Astral-Sheep <[email protected]>
(cherry picked from commit fe1f8443a411c64eb8a2934512ab982f3df3d550)