fix line pattern display after zooming in
cleanup