Do not wrap widget into a node when nodeName is null