Godot Version
4.2.2
Question
That rect is PointLight2D. It is used with a CanvasModulate (Black screen) for light/dark navigation platformer game.
The black/purple line does not show when debugging the game.
Whole PointLight rect (black line):
When zoom in, it shows a purple line instead: