Fixed the issue with Qwt's MathML engine (closes #222).