Bugfix: cursor position restore failed for table cells (issue #33)