editable, lineWidth and _doOne are leaking into the global scope