Fixes #18012 Protect SpinWheelSlot.resize() against NPE in some cases on IE8/9