Fix clash between gesture recognisers of buttons within collection view.