it's a quirk of the game's progress bar system
if you move when there is 0.5s left to a cast it goes off
it's called slidecasting