When you are recording clips that you intend to use as loops, use the metronome.
This ensures that you are in sync with the project clock.
Also Groove Clip almost always miscalculates the beats in the clip.
If you have a clip 12 measures at 4/4 it would be 48 beats.
Verify that beats in clip shows 48. Most likely it does not. it's probably something weird, like 37. Change it to the correct number, and you're good to go.