issue #19453: Fix scale handling problems on number widgets.