// START KGU 2015-10-11: Merged with getElementByCoord, which had to be overridden as well for
  // proper Comment popping
  //	public Element selectElementByCoord(int _x, int _y)
  //	{
  //		Element selMe = super.selectElementByCoord(_x,_y);
  //		Element sel = q.selectElementByCoord(_x,_y);
  //		if(sel!=null)
  //		{
  //			selected=false;
  //			selMe = sel;
  //		}
  //
  //		return selMe;
  //	}
  @Override
  public Element getElementByCoord(int _x, int _y, boolean _forSelection) {
    Element selMe = super.getElementByCoord(_x, _y, _forSelection);
    Element sel = q.getElementByCoord(_x, _y, _forSelection);
    if (sel != null) {
      if (_forSelection) selected = false;
      selMe = sel;
    }

    return selMe;
  }