Fixed animation ending early