fix a miscalculation for physical rect coordinates
further addition to rotated rect calculation: adapted width/height
rotation correction for Kobo framebuffers
Merge pull request #99 from hwhw/ffi-framebuffer-native

Framebuffer features/fixes for Kobo