implemented GetInstancesIntersectingElement and fixed element selection methods