Shrink window size smaller than the screen rect