copy Frames array only when we really need to do it