The tenant may not withhold payment of rent to the landlord, while in possession, to enforce any of the tenant's rights under this chapter.