Fixed placements of . in RTL and LTR scripts