Fix dSpinner to check bounds in flushValue().

Previously, the bounds were checked (with unneeded code) in
a LostFocus event handler, which was never fired if the form was
closed while the spinner was still active.

This commit handles both the case of the form being closed, and
the user moving focus to another control.