Modified render() method in DelegatingEngine