Move this definition inside the `animation_frame` source.