Assignment to writable property `style.height` instead of readonly `offsetHeight`.

Fixes #196.
Merge pull request #200 from g8g3/master

Assignment to writable property `style.height` instead of readonly `offsetHeight`.