Fix issue onInActive call to incorrect native controller on iOS.