Pin column stops working after adding/removing columns in a grid

The new pin column feature stops working if you add or remove columns from a grid when running the grid.