Fix number of requested frames on error