Fix frozen rows/columns implementation