fixed zbuffer for lines