Fixed painting-hookup of line numbers