Bugfix: pagination issue in gallery edit when adding an image

https://github.com/gunchleoc/ginbeag/issues/8