Fixes runningAnimations counter irregularities.