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