Viewport center world Location

Hey guys!
I have a 3d object that spawns in the center of the screen when you pause the game, the problem is that if you press pause during the level presentation, it spawns it based on the location of the player camera, not the active viewport.

How can I get the world location of the Viewport?