Stop the CCDirector from animating in the background

Stop the CCDirector from animating in the background, regardless of
whether or not it’s the “visible” view.