Bugfix: Wrong context hints were used to build new diagram elements (an exception were thrown after creating a new connection)