Fix depth bug, ty nigelK from stack overflow !
http://stackoverflow.com/questions/22008173/opengl-depth-buffer-not-applying