jcl said that the problem only happens when you use vec_for_vertex or vec_for_bone
after animating, so I was able to work around it by doing it
before any animation (including ent_bonereset_all). This only worked well for me because I do all my movement before animation, so I don't know if it's useful in your situation.
I hope it is, though

Jibb