Fixed root view controller bug.