Fix minor bug in net collision.