Callback was triggered even if animation was canceled or overridden

On animation complete, callback was triggered even if the later was canceled or overridden. This fix solve this issue.