Update the splines if the snapTarget has changed to prevent 'critical-pixel' bug, see #235