Fixed view switching not destroying old views.