I had the same problem. The solution is to use Microsoft's JRE bundle rather than OpenJDK.
Open your Minecraft folder (/Users/<username>/Library/Application Support/minecraft) and look through the folders under "runtime" for a file called `jre.bundle`. Make a copy of this file, and remove the `.bundle` extension from the copy (it will become a folder after the rename).
Open IntelliJ and click "Run -> Edit Configurations" in the menu. The first dropdown below the "Build and run" heading in the "runClient" configuration allows you to select a JRE, click "Select alternative JRE..." and find the jre folder your just renamed. Select the "Contents/Home" sub-directory of the JDK.
Now rebuild and run the client from IntelliJ.