Fixed blocks not resizing when renaming variables

Fixes #83.