protected void paintForeground(Graphics g) {
CanvasModel cModel = this.model;
CanvasTool tool = listener.getTool();
if (cModel != null) {
Graphics dup = g.create();
cModel.paint(g, selection);
dup.dispose();
}
if (tool != null) {
Graphics dup = g.create();
tool.draw(this, dup);