Fix gate crash in survival mode.