keeps line from ending inside node boundary

before this if the end of the line was within the node boundary but the
mouse was not on the node it would end inside of it and let you continue