allow to enter null for addFrame on multiFrame.