blocks(): fix special case with frames and fill_value