When generating a bitmap for the drawing, use a maximum area instead of a maximum dimension.