TMX-242 Remove unused code from cursor struct