ViewerGL: fix dark borders on the four sides of the texture