Semi blind attempt at fixing random IE10/11 test failures. These browsers seem to be the only ones where
a transition is not guaranteed to occur during the next event loop run. That, or the event loop ordering is sometimes wrong.