fix repeat frames from being added