Rehearsal marks are incorrectly positioned in case of repeat barline
Rehearsal marks "attached" to the first note of a bar are aligned left, center or right to the left barline according to the selected text style for rehearsal marks (+special handling when right align is selected and bar is first of a line).
However, when the barline is a repeat barline instead of a simple one, the alignment is incorrect.
The problem occurs for left/center/right to repeat barline in a line, and center/left for repeat barline at beginning of line.
The special handling of right align when bar is first of line is correct.
See attached score (and see https://musescore.org/en/node/186001 for detailed explanation of Marc).