Fix map item coordinates input for add/edit on firefox