fixed photo rendering on iphone