lineDash works on toggle buttons