fix wrong image in gallery mode

stupid me...