Fixes #1326: The `visible` setting for `DetailView` doesn't work as expected