added additional scaling arguments, prevented resizing on windows