When render border is active the default framebuffer view is changed and results to rendering the HDRI previews inside the render border and not in the bottom right corner of the 3d viewport. This PR fixes it by resetting the viewport when drawing the HDRI previews. Also tried to pass the DRW default view during submission, but that didn't fixed the issue. Pull Request: https://projects.blender.org/blender/blender/pulls/124402