fixed firefox issue with labelSize calc