No doesn't happen on standard gallery.
Also look at permissions for standard gallery
(Has same name as 3rd party gallery)
Look it has green tick...
My 3rd party gallery doesnt get tick
I think this is miui bug.
Doesn't give the full permission to 3rd party gallery