Sadly this suffers from the same problem I ran into. You can get stuck in the wall quite easily. To solve it, you can trace the land mass as one collision shape instead of each tile having its own collision shape.