Take the viewport aspect ratio into account when framing a bounding box.