[Bug 15864] window size has reversed width and height