Fix incorrect save and restore window size and position on multiple different resolution screens
The original method uses the resolution of each screen separately when saving, but will only use the resolution of the main screen when reading. If there are multiple screens with different resolutions, only the position on the main screen can be read.
Now use the virtual resolution of all screens.
Edited by Nate Graham