fixed "reloading inviteRootViewController when view reappears" issue