fix timer/counter gui to only update from correct gate

On a test world with multiple timers going at different speeds, opening a gui for one would show the time interval quickly flashing between the different speeds.