- prevent crash when GetMenuDefaultItem is called on empty menu