Start G-code making a mess

Can anyone explain to me what’s up with all the silly movement of the nozzle before and after printing.
It sometime feels like it’s made to purposely mess up a print.

Let me explain. flow calibration off.
After the front L shaped line is drawn, the nozzle is almost always clean.
Than for some reason the head moves around and than stops somewhere to the right above the line and waits till quite some filament drips out. And then it moves to draw the back right corner line which it ofcourse mess-up and then starts printing with a bunch of filament dragged behind the nozzle.

Did anyone get to making a better startup script?

All help appreciated!