fixed issue 1259, Animation#isAnimationFinished() didn't do what it said it does