Fixed a bug with the Snap Lines button.