Fix second wrong algorithm in Animation step