Bug 993089 - [BB][RTL] Make handling RTL & LTR text inside headers smarter