Client lagback when parenting to object Netcode for GameObjects

I am making a game using Netcode for GameObjects.

I need to parent my player to a moving object when they are on it so that they don’t slide off of it. This works seamlessly with the server host, but when trying to parent another client to it, it works, but the player gets teleported backwards. I’m assuming this is because the player is getting moved to their position on the server.

How can I parent the player to a NetworkObject without having their position set to their position moved?