Fix XMultiWindow Mode detecting landscape as portrait