Change to aspect ratio calculation for size of box circle depending on orientation.