The problem is solved.
I've experimented with many different options, but the only solution that worked is the preroll option.
right-click on the animation bar of character in the sequence, went to Properties -> Advanced -> Set Preroll Frames to 20, and the problem went away.
Other options like 'keep state' when the animation ends or setting the camera cut start range to -1 didn't work.
I'm not sure what exactly the preroll option is, or what other problems it might cause later, but for now the problem is solved.
I hope this helps someone who is struggling with the same issue as I was.