Click "opt" (top-left menu)

Then "Midi/audio driver setup"

The problem with increasing latency is that you'll get a delay, but sometimes it's the only way to give the computer enough time to breathe when it updates windows/screens and such (the problem you describe)