[Fix] Collision Bug
[Change] Reference to pointer for the entity argument in the isCollision function