Fix for deadlock when calling - [CCDirector stopAnimation]