Elements that should not be shown are removed from the viewer