Fix in order to center map in View and Edit mode