Fix "auto block height" feature if resizing the hole block.

Fixes #44