[BUGFIX] Use original page UID to determine 'active' state

Shortcuts in menus are not considered 'active' for useShortcutData="TRUE" and useShortcutUid="TRUE" if they are parents of a subtree.