Fix bounding box issue