LCD: fixes in print_line()