Painter2020 Unnecessary commands are recorded in the script

I recorded a simple drawing with a script, and tried to replay it on another image with layer added.

As a result, the script was not played on the target layer, but instead was drawn on the canvas.
In addition, unnecessary layers were added.

The suspect command was recorded in the exported text.

Is this due to the Japanese system environment?
Guys、how about you ?