Fix topbar/bottombar alignment for right-to-left languages