Added layer based collision for the ring.