Adding support for animation callbacks every frame.