limit scope of mathjax rerender #531