Don't assume A4 aspect ratio of input document