Image Root should be defined before setSource is called.
[BUG #7352] getWidgetById() in destruct method caused a ScriptError on reload