Corrected particle depth check to be normalized device coordinates.