Fixed style handling in case of multiple grouped layers