I think the way this happens is:
Now we recover a little more gracefully. Since we have no information about the previous (correct) window size, we just reset the window size to its defaults.
Thanks Alex Bender for reporting this.
NPXISSWQSW45YFZPNLVVRU4MKWXLEINO4LDGAZFL7BVY25BSNNXAC