Thanks for your feedback! Glad you like it despite issues.
Hmmm, powering off (by holding the power button for a while) seems to work for me, in the main menu, while reading a book. What's your Kobo's setting for standby, empty screen or book cover or reading progress? I'm using the empty screen setting myself, as that seems to produce the least amount of noise on the display.
Do you go into standby first (and see an image for standby) and only then power off quickly afterwards? That is one case where the mod currently does not display another image. The log message that triggers the mod became a bit noisy in firmware 3.15 so I put in a 10 second delay where the mod may not show another image after the previous image.
So the device would go Book -> Sleep -> (Random Image) -> Power Off -> (No Image)
I think I can improve that, by using the log message timestamp instead of real time. I will experiment with it.
Other possibilities are general timing problem; the mod blindly displays the image, it does not know whether it's before or after Kobo draws its own Sleeping screen. For that reason it waits one second, displays the image, waits one second, displays the same image again in the hope that Kobo's own image was displayed before that; so the random image wins in the end. If the Kobo takes longer to display the sleep screen, the Kobo may win... if you ever see a random image appearing only to be replaced by the standard sleep screen instantly afterwards... not sure how to fix that short of actually checking the display content before displaying the image (like show image only if >75% of the screen is white).
Apart from that, there's the possibility of broken images the mod can't handle. In such a case it would not be smart enough to pick another image, it simply would go empty this round. Although in my own tests it seemed to handle all flavours of PNG just fine. But if there was a file "image.png" that actually contained JPEG data ... not sure how many images you have but if there is one that *never* shows up it might be an issue. But then randomly you get no image at all, and it's not because of the 10 second delay...
Edit: Updated it, so the 10 second timeout no longer applies, and I've also fiddled with the timing it uses to display the image. This should fix some issues with the Sleep->Power Off transition - not sure if it fixes yours.