Fix gallery callback
Created by merge error in 9891e6193c