MythGallery: fix showing the menu for folders that contain no images

Fixes #11707.