Hi Glen,
I'm trying to track down the problem. I can't reproduce it though. This same kind of thing happened to me when I first released the gallery a while ago but it just went away and I never found out what caused it. I'll work with Fillip H. and see if he can find the issue as I don't see a problem in the code.