fixed adding markers in firefox