Fix a bug with instance name display when a port have the same name
Fix text size computation
Fix NPE when creating an empty instance