Restore to pre-fullscreen resolution when switched back to window instead of 640x480.