Disable path tracer when not needed.