Fixing x and y control buttons in table to work with string columns