Fix refresh in rotated (landscape) mode when using viewport

Rotation wasn't applied to the underlying framebuffer's blitbuffer,
so refresh coordinates were cut off the wrong way.

Should fix #1119 (at least the screen corruption)