Fixed depth matrix fragment shaders in OpenGL and Direct3D to be more precise. Corrects some graphical glitches in some games.