Super noob, first time posting a question. I have a debug-menu scene that is a MenuBar>PopUpMenus>Items. I load that into my Game scene as follows:
func _ready() -> void:
if OS.is_debug_build():
var debug_menu_scene = preload("res://scenes/debug-menu.tscn")
var debug_menu = debug_menu_scene.instantiate()
$Overlay.add_child(debug_menu)
$Overlay is a CanvasLayer child of my Game node. When I play the debug-menu scene by itself, the items load in right below their respective PopUpMenu normally. When I play the main scene and load in the menu as above, the items are distanced as in the screenshots. They seem to be y shifted by some constant amount and x shifted by some scalar getting multiplied.