Vector prediction is possible within each rectangle and within the background. The behavior of overlapping rectangles is undefined, but in the reference software the last slice group to define it is used.
In the context of vector prediction, it can occur both inside individual rectangular areas and across the entire background. Nevertheless, the behavior of rectangles that overlap one another is not explicitly defined; rather, the reference software relies on a particular slice group to provide clarity on this matter.