BAM resource preserves original palette on frames export