Fixing auto adjustment for window. Updating version.