Fixed text display bug