Make setView not throw even if old view is destroyed