Correctly report window portrait status with Controls backend

Use the window width and height to detect if portrait orientation.
If the screen is square, consider it to not be in portrait, as
the 4 column layout looks better than just showing 4 huge buttons
on the screen.