Fixed a critical Line/Curve Tool glitch.