* fix add submenu to wrong position bug.