Fixed a small issue

When selecting source classes for adding relationships, relationships
could be selected as a source. I created a new method which checks for
classes. I also limited the size of the bounding box on relationships.