Would need to know scene set up - is that a composite after rendering? Is this how it comes out in the render? Is it using anything like the Shadowcatcher?
EDIT - you also say "in animation", does that mean this does not happen with the same scene if rendered as a still? Also, if it is a composite after render, what layers are you using, what format are you saving to, and how are you compositing it all back together?