Sorry, that is the way the law is written. You pay taxes on the profit of the business, regardless of what you actually receive.
However, whenever you do receive a distribution, you will not pay taxes on it because you have already paid taxes on it.(assuming the distribution isn't more than your share of the profit).