PrismaticConstraint train doors not working properly

I have a train that uses prismatic constraints to open and close the doors. When the train is moving, the doors will slide open slightly. It’s been like this for quite a long time and I would like to know how to solve this issue. Below are some photos of what it looks like.


Thanks!

This may be caused by lag, but i dont really know :man_shrugging: