Fix line drawing zoom issue