Issue #44: Resizing when leaving