Attempt to fix crash cause by attempt to add frames.