Workaround a PIXI.js bug in TextObject extension.