Fix oxygen bubble calculations causing living entities to take damage.