Fixes wire flicker when changing gate redstone output