delay loading of image to give time for ui to finish switching the page. should fix #345.