Fix line caps