fix horizontal alignment of outlined text. fixes #13909