Renderer stores SharedPtr to the render surfaces that were allocated. This was needed to share depth buffers between different render surfaces.
Currently ant allocated RenderSurface is not released (since the renderer holds SharedPtr to them)