Add replace_bbox method to hocr_layer to position word boxes