Implement workaround for bad bounding box.