They don't need 100% margins to come out on top if they sell more units than are stolen.
So if a shop was selling 10 units an hour and losing 1 unit an hour to theft, and footfall doubled (simplistically doubling sales and thefts), then the shop is now selling 20 units an hour and losing 2 to theft. At realistic margins, the shop is more profitable than it was.