Gallery: fix unbinding
Gallery: fix unbinding when using Hammer