Added image size handling for retina