Try to fix the infinite loop that only occurs on Mac