Fixed animation duration error.