Resizing window causes tilemap to move to the side

Godot Version

4.2

Question

So if you look at the image, every time i manually resize the window the tilemap moves all the way to the right of the window instead remaining centered. This has been causing issues where I would show some UI Screen and if the player resizes the screen the UI would be centered but then they could see the entire level on the side. Is there a way to make sure it is centered?

The first thing coming to mind is: Where is the camera attached? From what I can see, probably not on the player because if it were, the level would probably follow if the camera is in the middle of the screen. But, I may be under/over-thinking it.

The Player is using a remote transform 2d connected to the camera so it can follow the player around.