Now properly opens the clicked image :)