Fix some writing mode mismatch assertions errors.
7be30de
The rendering is still wrong beause of #2795, but at least we get a rendering. (This test change is just for readability, it should be equivalent to before.)