Fixed problem with yEd factory retaining internal states