after effects - circular trim path
I can't reproduce your issue on my end, but I can offer an alternative method. Another way to create the circle example you've provided is to use a Radial Wipe effect on the shape layer:

Effect &gt; Transition &gt; Radial Wipe


Just animate transition completion from 0 to 100 percent. If your shape layer is moving, you may also need to pickwhip expression the Wipe Center parameter to your position parameter:

transform.position


I hope this helps you out. Good luck!