Just to confirm what Maggie247 said, it seems to only work properly when you upload images to the gallery, but if you choose existing images form the media library it doesn’t work.
I’m having the same problem. It doesn’t show the images that I choose for the gallery, it just shows everything in the media library instead.
Please help.