#2839: fixed cyclic-relation bug in projects- and resources-view by preventing parents from being dragged onto descendants