Fix for Map not working in IE