Fixed screen orientation changes for map panel.