Fixed a bug with the collision.
Refactored CollisionResult.