Fixed automatic scaling of nodes and links not working when all values are equal