Transform invisible layers if they are part of the group
When transforming a group recursively, some of the layers may be invisible
so the user may just forget about them. Now we transform the layers even if
they are invisible. The user still can avoid this behavior by
setting the layer as "locked".
Thanks Roman Ilin for suggestion!