[Bug 39703] Switching from a Windows app to an OS X app and then back causes the spinning ball of death