Fixed depth rendering by enabling gl.DEPTH_TEST.