Fix for issue #8. The image context for rescaling now uses the source image's scale value, rather than the device default.