Load menu only when in a theme affinitic refs #5767