Collision method in TileHelper