1. Create new gallery
2. Now enter that gallery and there's "New album" buttons on top and at bottom.
3. The topmost sends the cat=X parameter in URL, the one that's on bottom sends cat=
In latter case - on the new album page after clicking the button, the preset gallery isn't set because the missing cat= value. The topmost works as intended.