Fix switch side
Fix OnAnimationEnd causing bugs input