Javascript Window Resize Fix

Introduction
When you maximize a windowed mode it ruins the ratio/stretch and have to keep resetting it in the settings.
This fixes that.

Tutorial
  • Make a new Javascript file and insert the code.

Download

Original thread: https://forums.rpgmakerweb.com/threads/window-resize-fix.181564/