Your margin account, called type 2, is for long stock + long and short options. The type 3 account, called the short account is separate as those credits do not belong to you as you had to borrow the stock to short something you do not own.
Quick answer, no, shorts do not offset debit balances.