Boat B has to give boat A room to sail her proper course until they are past the mark and overlap is broken.

Breaking an overlap before a mark doesn't get rid of mark room.

Going past the mark doesn't get rid of the fact that Boat B is an overtaking vessel within 2 boat lengths and therefore cant go above her proper course.