Fixed bug where clicking on labels immediately after importing failed.