[ticket/365] Fix alignment in rtl languages

Fixes #365