Fixing bugs with map positioning for Chrome and Safari.