center title text so it can be rendered correctly