Fix for #8

I think this will fix the issue with scaling reported in #8. The UIGraphicsImageContext for resizing was being created with the device's scale rather than the source image's scale.