Workaround for NSSpellChecker advancing the event loop

This fixes #1260 though we may want to update our design to work with an asynchronous spell checker.