Fixed glitch with flipping card animation.