Replace the file: your-GD-installation-directory\JsPlatform\Runtime\Extensions\TextEntryObject\textentryruntimeobject.js with this one:
Or edit the file: GD-installation-directory\JsPlatform\Runtime\Extensions\TextEntryObject\textentryruntimeobject.js and add these lines at the end:
gdjs.TextEntryRuntimeObject.prototype.setLayer = function(layer) {
// No renderable object
};
gdjs.TextEntryRuntimeObject.prototype.setZOrder = function(z) {
// No renderable object
};