[519250] Use getHandleBounds to get anchor location AND to create anchor

Before this commit getHandleBounds is used to get anchor location. But
getBounds is used to create it. This sometimes caused some problem.

Bug: 519250
Change-Id: I8024603438e79472192345b7272ff907e3394018
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
diff --git a/org.eclipse.gmf.runtime.gef.ui/src/org/eclipse/gmf/runtime/gef/ui/figures/NodeFigure.java b/org.eclipse.gmf.runtime.gef.ui/src/org/eclipse/gmf/runtime/gef/ui/figures/NodeFigure.java
index e2d198a..c5955b5 100644
--- a/org.eclipse.gmf.runtime.gef.ui/src/org/eclipse/gmf/runtime/gef/ui/figures/NodeFigure.java
+++ b/org.eclipse.gmf.runtime.gef.ui/src/org/eclipse/gmf/runtime/gef/ui/figures/NodeFigure.java
@@ -1,5 +1,5 @@
 /******************************************************************************
- * Copyright (c) 2002, 2010 IBM Corporation and others.
+ * Copyright (c) 2002, 2017 IBM Corporation and others.
  * This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License 2.0
  * which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -172,7 +172,7 @@
 		else {
 			Point temp = p.getCopy();
 			translateToRelative(temp);
-			PrecisionPoint pt = BaseSlidableAnchor.getAnchorRelativeLocation(temp, getBounds());
+			PrecisionPoint pt = BaseSlidableAnchor.getAnchorRelativeLocation(temp, getHandleBounds());
 			if (isDefaultAnchorArea(pt))
 				return getConnectionAnchor(szAnchor);
 			return createAnchor(pt);