Combined window zeroing into one safer call.