Fixed issue with map resizing.