Workaround for crash in gm_mobenix. Fixes #46