Add assertion to verify layerRenderer is an instanceof ol.renderer.dom.Layer
Round CSS offsets to nearest integer