@fredj see: https://github.com/openlayers/ol3/pull/2135