Fixes #5255 and walking over asteroid edges

Fixes #5255 and walking over asteroid edges, as it used to put the mob under the edge, not over.