Only set IJ1 position if non-null

If this code was running with a null IJ1, you get a NPE - naturally.