Fix table cells selection is broken