fix foam part of animation

The foam part of the animation was broken, now it is fixed.