Fix loop behavior when getting slidingViewController where ECSlidingViewController is a root.