Cleanup ClearmodeDepthMask
Merge pull request #4781 from raven02/cleanup

Cleanup ClearmodeDepthMask