sampling.reset()
sampling.is_reset()
This commit ensures correct usage of these functions. Usage of them was not guarded and caused issues in render. Fix #131804