Fixed cross-platform animation support.