fixed mistake of Label::computeStringNumLines