bugfix point on window patch boundary because of rounding