Fix subpixel rendering for XFCE and when displays have differing rotations

See the commit messages for details.