Fix window size of sub-pixel corner detection