Ignore black space when taking screenshots and center screenshot vertically when going from fullscreen to window