Fix odd spinbox behavior (fixes #18204).
On occasion, the going up/down in the timestep spinbox would cause the spinbox to skip a timestep. Fixed that.
On occasion, the going up/down in the timestep spinbox would cause the spinbox to skip a timestep. Fixed that.