fixed last error in diagram generation from SXFM, that was causing some features to overlaps.