Are you playing on android? If so, then it's a bug of Renpy engine itself because the gallery system is totally controlled by Renpy and we can't really fix it. We are actually trying to solve that issue by abandoning Renpy's gallery system and making a new one of our own, but it's not an easy job and we are still working on it