fix MathJax rerendering