fixed crash and offset error in transparency groups