removed.texture in line element, and called it lineElement instead of sprite