add rectangle to average lines so tooltips don't flicker with dashes