low resolution for some software on sway

Hi, i just set up a new install of endeavourOS with sway WM. My waybar, alacritty terminal and some software is rendered at a high resolution and looks normal, but some things like firefox are rendered at a much lower resolution and look pixelated. Is there a way to fix this? Thanks :)