Emulink bugfix: additional code for handling textPaths