Fixed the shadowing code.  I was accidently recording the collision before it was supposed to be recorded.  Oops.