Fixed iOS image size bug using megapix-image.js