Resolve BUG that was destroying the menu when the window was resized.