fix issue displaying map on firefox