#1499 Hide main content widget outside of page contexts