I've had this type of glitch happen several times (tough it's kind of rare), where the ball just kind of clips through walls. I don't know why it happens, but I think it may be some sort of a floating point miscalculation.