fix for map widget not displaying correctly in firefox