Fix crash due to invalid parameter for pathbased movgen initialization