Fix crash on synthetic init gm commands