There is always gravity on spaceships in science fiction. Otherwise it would interfere with the plot. And his survival in space during the shoot out with the bats is probably meant as some sort of head scratcher. It fits the general tone of the show.