Fix redstone doing infinite loops