Incentivize the market (e.g., LIHTC) don't punish investors in affordable housing (e.g., RENT CONTROL).
It's pretty simple really. Just have the local, state, and/or federal government pay for the subsidies they wish to grant to the American People instead of off the budget subsidies paid for by those who own property.