EngineRender memory fix for EngineRenderD3D object