Dispose subviews after detach. Closes gh-555.