fixed slicing in frame processing

No match.