Mojave compatibility

When you build using the 10.14 SDK the CoreGraphics internals will occasionally read past the end of the space we’ve allocated for image data. I can’t think why this would be necessary…