fix for frame collection's addEmptyFrame() method