fix duplicate composition recording bug

Simple fix, really bad consequences.