Fix view-registrations if accessing e.g. on subsites.