This patch fixes the issues with the size and position of the script's window.