Why the object has a transparent outline (I don't know how else to describe it) at defocus.

In your material, there is a Blendable Location setting. You might have to play with that and set it to Before DOF or something.