Fix line drawing