Fixed line-rendering problem; textures were not cleared for rendering.