Xserver: fixed bugs with vertical screen orientation