Fixed view hierarchy cleanup so lifecycle methods are forwarded correctly.