set height to intrinsic size

Update intrinsic size and use that to set the text view height.

This also gets rid of the infinite loop issue some users were seeing.