Fixed the differencing of images for the webagg/nbagg backends.