mouse picking and object grouping