SpinBox: fix assert