clean the depth buffer before rendering lines