This change forbids some operations when the wiindow is natively fullscreened on macOS in order to avoid crashes. Closes #1578