Fixed: _editingCellIndex is currently not considered when table columns are pressed

without this patch, in-place editing in CPTableViews may clobber data when sorting via table header during editing. Credits go to Blair for working out the fix.

Fixes #2012