This will erroneously decrement `animating`.