fix for image upscaling + certain window resizing | fix centering bug with windows same width as screen