For the most part, the depth buffer works correctly in MHW. However, there are certain effects that momentarily interrupt the depth buffer. This ranges from various UI elements being on screen, including various particle effects while hunting monsters.
You can see an example of the issue here