Fix bug where webapp wasn't initialized properly without initialView