GP4 crash on load when Korg Opsix VST is used

The crash was in the GUI part of the plugin, this much I can tell from the stack trace.