Fixed bug with map border.