Check for nil rbi_viewController - fixes crash on 10.8