Capsule shadows offset from mesh

I’m trying to use capsule shadow to ground a dynamic object to the floor in an indirect lighting area, but the generated shadows are often detached from the actual mesh. Is there any way to improve the contact of the shadow or at least to limit this offset?

Any alternative to provide contact shadows for dynamic objects in indirectly lit areas?

135860-screen+shot+2017-04-28+at+00.16.43.png