issue #5685: use _super in ctor
issue #5685: fix MenuItemToggle callback bugs in _ctor
issue #5685: fix menu _ctor bugs