Quick hotfix.

- Fixed memory read error when removing a child widget.