Fix the compatibility issue for RowLock and ColumnResizer