Fix animations bug.