How to fix ragdoll collisions?

I have a character that goes into ragdoll, but some bones go through each other. Here you can see jaw clipping through arm. Both set to collide.
image

How can I fix this?