Fix display bug if text too long