[ticket/12648] RTL fix & ACP border fix

PHPBB3-12648