draw bboxes correctly