Fixed animation bug in crossfade