Stop wireframe mode giving log errors when OpenGL state debugging is on

Closes #85