Since you are using a Mac, probably best off with a (old) script-fu utility
multiple-layer-actions.scm Attached, put it in your user scripts folder.
You look like you are half way there already but for all users and from square one.
1. Filters -> Animation -> Unoptimise (might not be needed)
2. Image -> Mode -> RGB
3. Layer -> Multiple-Layer-Actions and apply to all layers Add Alpha
4. Make a rectangular selection for the border.
5. Selection -> Distort ( used default values but please experiment)
6. Selection -> Invert
7. Layer -> Multiple-Layer-Actions and apply Clear Selection
8. Selection -> None
I can just get that into a 1 minute animation.
https://i.imgur.com/E59PyaD.mp4