Make the overlay visible before updating the render position so that the `offsetWidth` and `offsetHeight` can be considered in evaluating the offset and positioning of the element See openlayers/openlayers#6566