[1.6.x] Fixed multi geometries editing in OpenLayers widget

Backport of 457c16d0d from master.