Spinner: Don't change value when changing min/max options

Fixes #9703
Closes gh-1252