fixed stroke width updating