Improve prettifyMathML, fix fitContentHeight sync issue