Fix timer bug with script engine

Occurs when Script.clearInterval() called inside Script.setInterval callback

See https://worklist.net/20050