Figure out landscape or portrait from the canvas size instead of from the available space