Fix - screenshot on iPad taken in bounds

IOSurface for iPad and iPhone differ in orientation. It was a reason why screenshots taken from iPad were cut.

Originally @coolstar did it in his RecordMyScreen: (https://github.com/coolstar/RecordMyScreen/blob/master/RecordMyScreen/CSScreenRecorder.m)
I have just joined missing parts.

Cheers

Michał