we need this because of the `dir='rtl'` there is some bug with the rendering of the borders