1920x1080 texture gets scaled for no reason

Godot Version:

Godot 4.2.1

I have this really weird bug I don’t know how to describe, and since I’m a new user I can’t send a video.


I have this TextureRect that is set to 1920x1080, and when i run it from the main_menu scene, it is perfectly fine. But when i run it from a 3d scene, the TextureRect gets scaled to 3840x2160.
I don’t know if this is a bug or something I am doing wrong.


I figured out the source of the problem, but it still doesn’t make sense why the problem happens. I have this animation player that swipes across two different TextureRects, both 1920x1080, and when I deleted it, the problem didn’t happen.
(I’ve decided to temporarily fix this by remaking the page system)