Use thickness property instead of hardcoded 0.1 in lineStyle calls.