Fixed the portals idle and spawn animation used.

I also fixed a bug making the portal not triggering the Idle animation again
after spawning.

Fixes #390