fixed stretched resolutions breaking script

Swap function works properly with screen at default resolution, at
larger resolutions @100%, and at larger resolutions, where the screen
will stretch to fit the whole screen.
KNOWN ISSUE: If one selects 100%, then Show All, the screen will scale,
but not stretch - this will break functionality. This will likely not be
fixed.