Fixes display scaling on different resolutions

Previously only worked on displays with a resolution of 1920x1080. Now
scales the GUI drawing and underlying application_surface. Adds
surrounding black bars if display aspect ratio is not 16:9.