**System Information**
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.40
**Blender Version**
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-11 06:08, hash: `rB70ef334f085c`
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `rB0759f671ce1f`
**Short description of error**
Adding //Set Material// node to the node tree replaces instances by real geometry in depth buffer. The same then using mesh primitives.
As a consequence, the snap functions and set 3D cursor do not work properly.
{F13765854}
**Exact steps for others to reproduce the error**
Please check the file:
{F13765857}