I tested some more.
glEnable(GL_DEPTH_TEST) + glDepthFunc(GL_LEQUAL)
glDisable(GL_DEPTH_TEST)
Both of them didn’t work.
If the depth is causing problem…
glTranslated(0, -0.505, 0) //from -0.501
Let grid line float more from block surface.
This works and simple.