Some dirty code to add legend to MDS plot