If this is happening in your Ubuntu, it’s pretty annoying. I have one 1080p and one 4k monitor. Maybe second monitor is messing with it.

You need to run it from the terminal with this env variable:

GDK_SCALE=2 steam