Another solution is to add the interface in the director. What about use this interface?
instead of using `Director::getInstance()->getRenderer()->captureScreen()`, we only need to call `Director::getInstance()->captureScreen()`