change measureString to only consider wrapping text (toooo hacky)