Added a window resize to the proper screen size

This change prevents the PDF rendering in the initial startup resolution
from the UI file (977x500 px) because the window "spawns" at full
desktop resolution.