allow setFrame(frameCount) for end of animation