protected Object getComponent(int x, int y, XYPlot plot) {
Bounds plotBounds = plot.getBounds();
// First check if (x,y) hit the center plot
if ((null != plotBounds) && (plotBounds.inside(x, y))) {
Overlay o = plot.getOverlayAt(x, y);
if (o != null && (o instanceof Draggable) && ((Draggable)o).isDraggable()) {
return o;
}
return plot;
}