UI - Screen Space Overlay, Scene View different than Game View

Has anyone else encountered this? I’m using the new UI system, and have the canvas set to Screen Space - Overlay. I have some menus placed just outside the canvas, that will get moved inside the canvas when appropriate during runtime. However in the game view, these menu’s are poking into the canvas somehow, even though they should be outside. (See picture below) As you can see, I have the anchor for this menu set to the top right corner, with no stretching.

Any help/ideas are appreciated!
-Kurt

You’ll have to dynamically set your UI panels’ positions if you’ll be changing resolutions. If you have panels outside of your viewport, they’re still anchored somewhere - and once you expand the screen far enough, they’ll appear in your viewport.

My personal method to deal with this is to use gameObject.SetActive(bool) to make the window invisible until I need it.

An alternate method might be to capture your Screen.Width/Screen.Height and set your panel’s position in the Start function.