fix glitches caused by creating a new line on pressure change