Fixed issues with RTL locales