Work around change in handler behaviour in OpenLayers 2.10