Fix jumping to wrong image during import