Bug fix: 'ui-selected' classes were remeved from selected relations when the window is resized.
Bug fix: A speculation were hidden that of a selected relation.