Enable NSOpenGLView depth buffer.

Also fix GL_DEPTH_TEST issue.