Fixes wire flicker when changing redstone output of gates

Mind you - this could potentially break something, but from what I've tested, it works.

Signed-off-by: Humungus