Fixed a bug in resizing, bottom would get chopped

Fixes #93.
Is this ok?