An example of the forever looping issue: https://github.com/kof/animation-frame/issues/13