It is possible during a layout a block to shift vertically. This means that the lines to fall in a region with a different width need to be recomputed. The detection of the first line is erroneous if it falls in between regions.
Created attachment 141407 [details] Test case
This doesn't seem to reproduce anymore (Canary, Mac nightly). Closing, unless some other way to reproduce it can be found.