fix recursive wx.yield errors in speceditor