Looks like a timing issue, it's in the same tick so it thinks you are in idle animation. You could add a very small wait time above the spawning of it, or rework the events for example if you set the animation in the arrow key event itself then it works.