Fixed NEI Crashing bug on Mac and Linux.