fix label's maxWidth calculation
Merge pull request #1177 from exactamedia/labelWidth_bug

fix label's maxWidth calculation