oscplot.c: Fix crash when removing a transform.