Fix spinner so it correctly sets the display value from the internal value