Bugfix for text.xytext property

Resolves issue #3500