Fixed two Line/Curve Tool bugs.

Fixed a bug that occurs with the shift key when modifying a control
point's position and a bug when attempting to create a new line outside
of the Image bounds.