Fixed a text display bug