Fixed issue with retreiving reference to rootViewController.