Correct PIXEL_IS_ALL. It was using logical instead of bitwise ORs