Make sure that currentView and currentUrl are set even when not passing an initialView