fixes for frame and gif copy