[[ Bug 12897 ]] Fix standalone popup crash when stack has no menubar