Fix problem for getting the right source of data for thickness of edges.