Updated bounding box dotted lines to end at corners properly