Bug fix #2551

This should fix #2551, back ported from Paragon by @Salwan.
Reset the depth mask before clearing to fix the sectorview depth rendering issues.