fix submenu problem in rtl