Use the figure class on images to avoid destroying mathjax in Firefox.
Sub