Your scene contains a skydome mesh with a sky material but it does not cover that part of the screen

I unticked Meshes in SceneCaptureComponent2D and it fixed my issue.

image