The end G-code on Prusa XL starts with a wait command then lowers the bed. This creates a tuft (a filament string) on the print as the bed goes down:
G4 ; wait
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+5, max_print_height)}{endif} ; Move bed down
P0 S1 ; park tool
I propose a fast move (like a wipe) to the center of the plate (if complete objects is false and their is room for it):
{if !complete_objects and max_layer_z < max_print_height}
G1 X180 Z{z_offset+min(max_layer_z+0.2-z_offset, max_print_height)} F24000; avoid creating a tuft
{endif}
G4 ; wait
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+5, max_print_height)}{endif} ; Move bed down
...
This is the result with the new code:

It happens on other Prusa Printers:
Core 1:
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+1, max_print_height)} F720 ; Move print head up{endif}
M140 S0 ; turn off heatbed
Mini:
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)} F720 ; Move print head up{endif}
G1 X170 Y170 F4200 ; park print head
The end G-code on Prusa XL starts with a wait command then lowers the bed. This creates a tuft (a filament string) on the print as the bed goes down:
I propose a fast move (like a wipe) to the center of the plate (if complete objects is false and their is room for it):
{if !complete_objects and max_layer_z < max_print_height} G1 X180 Z{z_offset+min(max_layer_z+0.2-z_offset, max_print_height)} F24000; avoid creating a tuft {endif} G4 ; wait {if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+5, max_print_height)}{endif} ; Move bed down ...This is the result with the new code:

It happens on other Prusa Printers:
Core 1:
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+1, max_print_height)} F720 ; Move print head up{endif} M140 S0 ; turn off heatbedMini:
{if layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)} F720 ; Move print head up{endif} G1 X170 Y170 F4200 ; park print head