I know nothing about thc comp. Not familiar with “corner lock”. What’s that?
You need to find out why you get zero values. so somewhere you generate commands that get calculated as a path. you might have queue busters which demand the motion to go to zero.