Fixed a bug affecting the `text` property (#163)