Added collision detection to entity wire.