Animation of a sprite in an CALayer