title: javaFX intersection bug
body: <p>I have a problem in my app. I draw lines and points with the help of mouse and I need to detect wether I intersect the line or get the point. And with points it works well, but with lines it doesn't work. I add lines to the AnchorPane. Then I spotted, when cursor is situated inside of 3 lines (Triange) - it's always intersect. Here is my example:</p>
  
  <pre><code>ArrayList&lt;Line&gt; lines = new ArrayList&lt;Line&gt;();
      Line l1 = new Line(10, 150, 50, 10);
      Line l2 = new Line(10, 150, 100, 150);
      Line l3 = new Line(100, 150, 50, 10);
      lines.add(l1);
      lines.add(l2);
      lines.add(l3);
  
      for (int i=0; i&lt;lines.size();++i) {
          if (lines.get(i).intersects(48, 48, 4, 4)) {
              System.out.println("found a bug!" + " line #"+i);
          }
      }
  </code></pre>
  
  <p>If someone knew the answer - it would be great! </p>