since it's all from kirk's mind in the first place, perhaps it is only kirk's perception that matters.
he believed chekov could die, so he appeared to
he doubted that the gas would work, so it didn't...
of course this would make the mindmeld with scottie and mccoy unecessary but perhaps they just never realized it was only kirk's perception that mattered.