I've got the HUD and Camera as children of the same Node2D
to keep them locked together, using Z-index to keep them overlaying the world. This might not be the right way of doing it, but it works just fine and isn't my problem, as I've reproduced that in a minimal project with a fixed camera.
(I've worked around it by using a MenuButton
and repositioning the popup to off the panel in an about_to_show
handler, but that's a bit hacky.)