Fixed warnings with labelTrackedBy() and replaced x.cols()/rows() by COLS/ROWS