Issue Description:
When you call overwolf.windows.restore() on a hidden in-game window (a window you used overwolf.windows.hide() on), the position of the window updates if it isn’t fully in the viewport.
This is kind of a descent default (I think), however there should be a way to opt-out on that behavior. If a user wants an overwolf screen to be slightly out of the viewport we shouldn’t update that window whenever we hide() → restore().
A use-case where you want a window to be partly out of the viewport, is when you reserve space for tooltips to show up. Depending on where the Overwolf window is in the viewport you want them to show up left or right. One side of the “reserved space” is very likely to be out of the viewport in this case.
A potential update to the API could involve an additional parameter to the
overwolf.windows.restore function where one can set an object with:
"{ restrainToViewport: boolean = false } " to disable the default behavior.
Additonally, the API docs (https://overwolf.github.io/docs/api/overwolf-windows#restorewindowid-callback) currently say:
“When restoring a minimized/maximized window, it restores the window to the previous size/position.”
It currently does not mention to reposition behavior that might be triggered.