Сharacter jumps or jumps over the map

In a collision (if closely), the character can jump or fly over the map. Please tell me what could be the problem?

Please ask questions if something is not clear in my question