[[ Bug 12297 ]] Make sure WM_POPUP is handled in MCStack::realize.
Merge branch 'bugfix-12297' into develop