Hi Jeronimo,
Thank you for the answer. I can't find the option you mentioned. I found the same information on this page but it is for Windows 10. I think it was removed or moved somewhere else in Windows 11 when the new Settings app was introduced. I am using Windows 11 Home 23H2.
Here is what my settings look like:
The interesting part is that system applications are the only applications I ever had a problem with. No other application I ever used had a problem with DPI scaling.