Layer order is wrong on Gcode viewer


What is the problem?
I have a startup code which has a wipe.

Looking at the layer view in Octo, I see the following:
L1: L1 of print with skirt
L2: L2 of print
L3: L3 of print but also the wipe.

The wipe actually happens at the start of the print and it is visible in the GCode at the start.

What did you already try to solve it?
Nothing, does it with every print, but prints work normally. Is this normal?

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

latest octopi version, CR-10S, Marlin 1.18.