Try to workaround a Mac crash.