correct detect default view (refs #4246)