Works recursively if groups are selected instead of shapes