Fix border kernel. Mask is write-only it turns out