fix: collision with map's border