Fixes for vertical space issues in TextField

Bonus: proper resetting of `bold` and `italic` when setting `htmlText`.