measure text returns a float? wtf
fix by rounding