Fixes menu bug when context is not a subsite