Fix snapshot image orientation issue in iOS8+

Resolves #17