private Image offScreenImage;
private int offScreenWidth = 0;
private int offScreenHeight = 0;
private boolean mouseExited = true;
private boolean customRoi;
<BUG>private boolean drawNames;
public ImageCanvas(ImagePlus imp) {
this.imp = imp;
ij = IJ.getInstance();</BUG>
int width = imp.getWidth();

private Image offScreenImage;
private int offScreenWidth = 0;
private int offScreenHeight = 0;
private boolean mouseExited = true;
private boolean customRoi;
private boolean drawNames;
private AtomicBoolean paintPending;
public ImageCanvas(ImagePlus imp) {
this.imp = imp;
paintPending = new AtomicBoolean(false);
ij = IJ.getInstance();
int width = imp.getWidth();
