After call to pauseAnimation and stopAnimation,
respective ID's are set to undefined.