Fix show images on retina displays.

Fix show images on retina displays (I have MBP with retina display and old code not work for me).