Fix wireframe display to properly clear framebuffer