It fixes #5 issue. Window scale is modified for expected number