Fix line drawing in web player