Fix intermittent nextTick bug in one Safari

As described in detail in the comments.