You may want to add (invisible) walls along the edges of the level so that people can't fall into the void.
thank you for the suggestion, will update the game soon.