Fixes a warning on kCGImageAlphaNone