Resize map after page show to avoid screen update problems.