UI doesn't scale correctly when packaged

I’m not sure what stupid setting I may have accidentally clicked on but for some reason on a packaged shipping build the UI doesn’t scale at all. It appears fine when at 1080p but not otherwise.

I think this only started happening after messing with DPI scaling settings? I’ve set them back to the default though.

How it appears at 1280x720 in packaged shipping build:

How it appears on the PIE:

Need help asap, please.

It also does this even when fullscreen, it’s just the resolution that effects it.
(And yes, everything is inside canvas panels.)

The problem was the DPI scaling curve, I changed it then used ctrl+Z to change it back, the engine treated it like I hadn’t bought them back. Retype the values back in manually and it gets fixed.