Fixes game-breaking bug when falling in void