Fix window functions with no input channels