Added resetFrame to the AnimatedSprite class for specifying the frame which should reset the animation