If you are using NVIDIA, just go to the NVIDIA control panel, Adjust desktop size and position. Then adjust the scaling mode to Full Screen, Perform Scaling to GPU and tick the Override the scaling mode set by games and programs. Don't forget to click Apply.
Thanks for the trainer Mr Antifun!