Memory leak fix on subview closing
2.2.3