Buggy code:
public class TrackerControl extends MMFrame implements MMPlugin { public static final String menuName = "Live<seq2seq4repair_space>Tracking" ; public static final String tooltipDescription = "Use<seq2seq4repair_space>image<seq2seq4repair_space>correlation<seq2seq4repair_space>based<seq2seq4repair_space>tracking<seq2seq4repair_space>to<seq2seq4repair_space>countersteer<seq2seq4repair_space>the<seq2seq4repair_space>XY<seq2seq4repair_space>stage" ; private Datastore store_ ; private DisplayWindow display_ ; private JTextField nameField_ ; private JTextField rootField_ ; private final ButtonGroup buttonGroup = new ButtonGroup ( ) ; private static final long serialVersionUID = 1L ; private JTextField resField_ ; private JTextField offsetField_ ; private JTextField pixelSizeField_ ; private JTextField intervalField_ ; private ScriptInterface app_ ; private int intervalMs_ = 1000 ; private double pixelSizeUm_ = 1.0 ; private int resolutionPix_ = 5 ; private int offsetPix_ = 100 ; private Timer timer_ ; private float [ ] pixelsPrev_ = null ; private float [ ] pixelsCur_ = null ; private int imWidth_ = 0 ; private String stage_ = "XYStage" ; private Roi roi_ ; private ImageStack corrStack_ ; private ImagePlus corrImplus_ ; private boolean mirrorX_ = false ; private boolean mirrorY_ = false ; private boolean rotate_ = false ; private double dxUmPrev_ = 0.0 ; private double dyUmPrev_ = 0.0 ; private TrackerControl . MMRect limits_ ; private int imageCounter_ ; private String acqName_ ; private XYSeries xySeries_ ; private static final String RESOLUTION_PIX = "resolution_pix" ; private static final String OFFSET_PIX = "offset_pix" ; private static final String INTERVAL_MS = "interval_pix" ; private static final String DISK_RECORDING = "disk_recording" ; private static final String ROOT = "root" ; private static final String NAME = "name" ; private static final String TRACK_Y = "TRACK_X_UM" ; private static final String TRACK_X = "TRACK_Y_UM" ; private static final String TRACK_DY = "TRACK_DX_PIX" ; private static final String TRACK_DX = "TRACK_DY_PIX" ; private static final String D = "STEP_UM" ; private static final String V = "VELOCITY_UMPS" ; private static final String L = "TOTAL_TRAVEL_UM" ; private static final String RECT_X = "RECT_X" ; private static final String RECT_Y = "RECT_Y" ; private static final String RECT_W = "RECT_W" ; private static final String RECT_H = "RECT_H" ; private static final String ACQNAME = "LiveTracking" ; private JLabel labelTopLeft_ ; private JLabel labelBottomRight_ ; private final JRadioButton memoryRadioButton_ ; private JRadioButton diskRadioButton_ ; private final JLabel speedLabel_ ; private double distUm_ ; private final JButton topLeftButton_ ; private final JButton bottomRightButton_ ; private static final String VERSION_INFO = "1.0" ; private static final String COPYRIGHT_NOTICE = "Copyright<seq2seq4repair_space>by<seq2seq4repair_space>100X<seq2seq4repair_space>Imaging<seq2seq4repair_space>Inc,<seq2seq4repair_space>2009" ; private static final String DESCRIPTION = "Live<seq2seq4repair_space>cell<seq2seq4repair_space>tracking<seq2seq4repair_space>module" ; private static final String INFO = "Not<seq2seq4repair_space>available" ; private double firstX_ ; private double firstY_ ; private class MMRect { public double xmin ; public double xmax ; public double ymin ; public double ymax ; public MMRect ( ) { } public boolean isValid ( ) { } public boolean isWithin ( double x , double y ) { } public void clear ( ) { } public void normalize ( ) { } } public TrackerControl ( ) { } protected void browse ( ) { } public void track ( ) { } public void stopTracking ( ) { } private TaggedImage snapSingleImage ( ) { try { app_ . getMMCore ( ) . snapImage ( ) ; TaggedImage tagged = app_ . getMMCore ( ) . getTaggedImage ( ) ; if ( ( acqName_ ) != null ) { MDUtils . setFrameIndex ( tagged . tags , imageCounter_ ) ; Image image = app_ . data ( ) . convertTaggedImage ( tagged ) ; <START_BUG> image = image . copyAtCoords ( app_ . data ( ) . getCoordsBuilder ( ) . position ( "time" , imageCounter_ ) . build ( ) ) ; <END_BUG> store_ . putImage ( image ) ; int size = ( image . getWidth ( ) ) * ( image . getHeight ( ) ) ; if ( ( tagged . pix ) instanceof byte [ ] ) { pixelsCur_ = new float [ size ] ; byte [ ] pixels = ( ( byte [ ] ) ( tagged . pix ) ) ; for ( int i = 0 ; i < size ; i ++ ) pixelsCur_ [ i ] = pixels [ i ] ; } if ( ( tagged . pix ) instanceof short [ ] ) { pixelsCur_ = new float [ size ] ; short [ ] pixels = ( ( short [ ] ) ( tagged . pix ) ) ; for ( int i = 0 ; i < size ; i ++ ) pixelsCur_ [ i ] = pixels [ i ] ; } if ( ( tagged . pix ) instanceof float [ ] ) { pixelsCur_ = Arrays . copyOf ( ( ( float [ ] ) ( tagged . pix ) ) , size ) ; } imWidth_ = image . getWidth ( ) ; } return tagged ; } catch ( Exception e ) { IJ . error ( e . getMessage ( ) ) ; timer_ . stop ( ) ; return null ; } } private void processOneFrame ( TaggedImage tagged , boolean moveStage ) { } @ Override public void setApp ( ScriptInterface app ) { } private void initialize ( ) { } public void configurationChanged ( ) { } @ Override public String getCopyright ( ) { } @ Override public String getDescription ( ) { } @ Override public String getInfo ( ) { } @ Override public String getVersion ( ) { } }

Fix:
image = image . copyAtCoords ( app_ . data ( ) . getCoordsBuilder ( ) . time ( imageCounter_ ) . build ( ) ) ;