Replace pointers by objects in sprite animations.