[ticket/12011] RTL fixes.

http://tracker.phpbb.com/browse/PHPBB3-12011