Work-around to OpenLayers 4.6.5