When the overlay engine is used to draw over the image engine it uses incorrect framebuffer configurations. It can attach and sample both the depth buffer at the same time. This PR fixes this by separating the output framebuffer into two. One with and one without a depth buffer. And bind the correct one when needed. Pull Request: https://projects.blender.org/blender/blender/pulls/131489