This fixes also a heap corruption with 1x1 and 2x2 surfaces.
Attach a file by drag & drop or click to upload