Why the overwolf.windows.maximize function is not working?
Probably you define for this window a max_size in the manifest. Remove it, and that should work.