Added additional delay to GuiTestUtils.runAfterEvents.