UI: Fix unified menu causing exception with clean profile

(integrated from trunk branch change a57a288 by Nathan Rijksen <n.rijksen@gmail.com>)