Ensure that MathJax is rendered correctly in titles.