AUI-1540 Fixed widgetConstructor problem