It's magiced out of nowhere because even though they need to take a deposit before they lend it, the original deposit remains as a line in the customer's account after it's been lent. It works because people don't normally all try to withdraw their money at the same time.