Fix introduced bug by trying to tidy up cursor, the mode was being printed over the top of the last pager line as it was not checking if the pager was active