Fix fence gate redstone simulator.
Merge pull request #1101 from Howaner/FenceGate

Fix fence gate redstone simulator.