Resolves #113422. The depth buffer was rendered to, but not correctly merged with the scene depth buffer. This lead to, e.g. the object appearing behind the grid. This fixes the issue by rendering a "merge" pass. Pull Request: https://projects.blender.org/blender/blender/pulls/113779