Fix opacity for groups and nested groups

Fix opacity for groups.
Before it was working just in simple situation, now it should be ok both in path-group and in normal groups and nested groups.