fix aspect when html figure larger than section height