Fix Issue #6530

@jdfreder A quick fix to #6530. Widget and DOMWidget' s view name is set to None. Widgets without a view are not displayed anymore, like what Thomas suggested earlier