currentMap.removeLayerSpecial(marqueeSelection.getId());
currentMap.removeLayerSpecial(marqueeSelection);
    public void mousePressed(MouseEvent e) {        mouseButton = e.getButton();        bMouseIsDown = true;        mousePressLocation = mapView.screenToTileCoords(e.getX(), e.getY());        mouseInitialPressLocation = mousePressLocation;        if ((currentPointerState != PS_EYED && currentPointerState != PS_POINT && currentPointerState != PS_MARQUEE)                && mouseButton == MouseEvent.BUTTON1)        {            MapLayer layer = currentMap.getLayer(currentLayer);            paintEdit =                new MapLayerEdit(layer, new MapLayer(layer), null);        }                //special logic for seleciton        if(currentPointerState == PS_MARQUEE) {        	if(marqueeSelection != null) {        		currentMap.removeLayerSpecial(marqueeSelection.getId());        	}        	marqueeSelection = new SelectionLayer(currentMap.getWidth(), currentMap.getHeight());        	currentMap.addLayerSpecial(marqueeSelection);        }                doMouse(e);    }