Fix the bug with incorrect calculation of the Label width.