Bayer pattern fix