Fix improper cleanup on setView rerender