Fix a bug where clicking on image resulted an error