How can i Draw a Camera limits While running the Game

Godot Version

Godot 4.3 stable

Question

so I’m working on a level editor and i want to draw my player’s camera2d/PhantomCamera2D limits so I can see them while changing the limits values
so I came up with this draw function

func _draw() -> void:
	var cam_size := Vector2(player_camera.get_limit_left() - 
        player_camera.get_limit_right(), player_camera.get_limit_bottom() - 
        player_camera.get_limit_top())
	var cam_rect := Rect2(player_camera.position - cam_size, cam_size)
	
	draw_rect(cam_rect, Color.GRAY, false, 2.0)

but when i run it it gets the size correctly but it does not get the position correctly.