Fixing an issue with centering of text.