As described in bug 33821 comment 9, we need to use software animation for composited layers with any fixed position descendants.
Actually maybe we don't need to do this. If transform is animating, then the ancestor is a fixed position container. If opacity is animating, then the behavior is correct. However, if we hardware-animate left and top we'll have to fix this.