Merge pull request #2340 from lpsinger/patheffects_math_text

Fix #2339: render math text when using path effects