Child position glitches with linecast

I am linecasting from a parent to the ground and setting the child’s position to be at hit the location.
It works and the child sits on the ground but it glitches above and under the ground very slightly every time I move the parent up and down. .