Animation FrameCount error