Fix image filtering on retina screens.

Make sure you get the same pixel count in Safari/Chrome/FF - it should match
the pixel count of the image.