Fix use of shift on a ref (experimental) for inner_window