fix some rtl issues in the wui for Arabic localizaton