Make sure the id provided to GlobalRef is correct.