fixed smoothScaleTo bug

this method should now work properly when called from outside the widget