Correct input slicing when control are applied at frames level.