Fixed it by disabling dithering in the material details and replacing it with a dithering node instead.