How does Maya's shadow DP work

#21

Yup, this is why you get seemingly weird occurrences like that.