Fixed a bug affecting the `text` property