Modified transparency handling in BamDecoder