update bounding box after scaling