fixing map boundaries