Fix display bug in a label