Repaint is broken when crossing writing mode roots. Specifically when going from vertical-rl out into horizontal-tb.
Created attachment 73841 [details] Patch
Fixed.