Depending on your processing time, and payroll service, QuickBooks may allow you to either delete or void a check. You need to ensure you properly voided the Payroll Tax payment as it should show up a zero amount in your bank register.
To get this sorted out, you might want to delete the voided check to make sure it will not affect your records and manually recreate the check with a zero amount to avoid offsetting the taxes.
I'll be sharing with you the following articles below. These will provide you steps on how to create unscheduled payroll as well as tips on how to manage voided checks in QuickBooks Online: