Tested versions
- Reproducible v4.3.dev5.official [89f70e9]
System information
Windows 11
Issue description
When setting a color rect to clip mode, and adding a panel to it as a child, it will render the whole game screen texture onto it.

Steps to reproduce
Create a 2D scene, add some sprites and stuff to it. Add a ColorRect and set the clip to clip only. Add a panel to it as a child. It will render the screen with sprites added to the scene.
Minimal reproduction project (MRP)
weird_viewport.zip
Tested versions
System information
Windows 11
Issue description
When setting a color rect to clip mode, and adding a panel to it as a child, it will render the whole game screen texture onto it.
Steps to reproduce
Create a 2D scene, add some sprites and stuff to it. Add a ColorRect and set the clip to clip only. Add a panel to it as a child. It will render the screen with sprites added to the scene.
Minimal reproduction project (MRP)
weird_viewport.zip