Fix domNode resolution on Widget.