Fixed issues in collision module.
Added collision detection to entity wire.