issue #4221 cc.Director.getInstance()->cc.director