fixes #18012 SpinWheelSlot.resize() badly assumes the widget is fully initalized