UI Refresh Issues

Im having some very peculiar UI issues. The UI does not seem to update certain elements until the screen is updated via slightly resizing the menu.
This issue is also present when switching between scenes, a bit of the UI from the previous screen enters the background of the current screen until I slightly resize.

All of my code functionality, anchoring, and UI elements work fine apart from this UI update issue.

I am currently using Unity 2022.1.15f1, but i still had the issue with 2021.3.9f1

The user geminiradio had similar issues but no solution was listed https://forum.unity.com/threads/unity-ui-showing-in-editor-but-not-in-build.287403/

This is another similar thread
https://stackoverflow.com/questions/71475579/previous-scene-lingering-in-the-background-unity

Solved it!

The issue occurs if there is a region where there are not cameras present. So I created a camera displaying nothing in the region causing the problem