fix issue with map position on firefox