Map: bugfix of collapse of borders of box