I verified that the issue refereed to in http://www.cocos2d-iphone.org/forum/topic/68990 does not occur after this change.

Hopefully this PR is good to go now.