Fix assignment of currentView