foreignObject random function drawing in treemap