If you have any calls to Popup.AddItemMimic, make sure the passed control FEQ represents a button or menu item.