IB's margin compliance policy does not allow for transfers or other deposits if there is a margin violation/deficit in the account. In the case of a margin violation/deficit, the account in deficit is immediately subject to liquidation. Automated liquidations are accomplished with market orders, and any/all positions in the account can be liquidated. There are cases where, due to specific market conditiions, a deficit is better addressed via a manual liquidation.
Funds deposited or wired into the account are not taken into consideration from a risk standpoint until those funds have cleared all the appropriate funds and banking channels and are officially in the account. The liquidation system is automated and programmed to act immediately if there is a margin violation/deficit.