Fixed issues with generating the retina image.