This could theoretically set `currentLayoutIndex` to `NSNotFound`.