Force viewDidLoad to execute before viewWillAppear.