This avoids having black squares around the objects because we computed that it was the closest but the ray didn't actually hit it...