Merge "Fix the starting pen's position when a path close." into lmp-mr1-dev